package cn.pconline.autoclub.entity;

import org.gelivable.dao.Column;
import org.gelivable.dao.Entity;
import org.gelivable.dao.Id;
import org.gelivable.dao.Label;

@Entity(tableName = "ac_vote_detail") @Label("投票选项明细")
public class VoteDetail {

	//选项最大长度
	public static final int VOTEITEM_MAX_LENGTH = 255;
	
	@Id
	@Label("投票选项ID")
	@Column(name = "vote_item_id")
	private long voteItemId;
	
	@Label("投票主题ID")
	@Column(name = "vote_id")
	private long voteId;
	
	@Label("投票选项内容")
	@Column(name = "content")
	private String content;
	
	@Label("选项被投票次数")
	@Column(name = "vote_count")
	private long voteCount;
	
	public long getVoteItemId() {
    	return voteItemId;
    }

	public void setVoteItemId( long voteItemId ) {
    	this.voteItemId = voteItemId;
    }

	public long getVoteId() {
    	return voteId;
    }

	public void setVoteId( long voteId ) {
    	this.voteId = voteId;
    }

	public String getContent() {
    	return content;
    }

	public void setContent( String content ) {
    	this.content = content;
    }

	public long getVoteCount() {
    	return voteCount;
    }

	public void setVoteCount( long voteCount ) {
    	this.voteCount = voteCount;
    }
	
	
}
